Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to throw IndexError if model name not registered #1475

Merged

Conversation

justinkchen
Copy link
Contributor

I wasn't really sure where else this change needed to be done. I added this error message in this registry code since it will be called by the same run_batch call that checks for prompts too

Copy link
Contributor

@saqadri saqadri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Change looks reasonable to me -- @Ankush-lastmile to confirm

@Ankush-lastmile
Copy link
Member

Ankush-lastmile commented Mar 24, 2024

Thanks! Change looks reasonable to me -- @Ankush-lastmile to confirm

Looks good to me, thanks for adding this @justinkchen

where else this change needed to be done

We should be fine with just this change, any similar methods either already or can call the modified one

@Ankush-lastmile Ankush-lastmile merged commit 92b4f9f into lastmile-ai:main Mar 24, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants